package com.smartpro.mis.modular.business.service;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.smartpro.mis.modular.system.model.Orders;
import com.baomidou.mybatisplus.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 订单 服务类
 * </p>
 *
 * @author mengiy
 * @since 2019-05-07
 */
public interface IOrdersService extends IService<Orders> {
    List<Orders> selectOrdersList(@Param("startTime") String startTime, @Param("endTime") String endTime, @Param("start") int start, @Param("num") int num);

    List<Orders> getOrdersListByCompany(@Param("startTime") String startTime, @Param("endTime") String endTime,@Param("belongToCompany") String belongToCompany, @Param("start") int start, @Param("num") int num);

    List<Orders> getMyDistributorOrderList( @Param("distributorID") int distributorID);

    List<Orders> selectListByPage(@Param("start") int start, @Param("num") int num);

}
